package mysqlCodeGen.gen.inner;

/**
 * 代码生成相关常量
 *
 * @author alan
 * @date 2022/1/27 12:12
 */
public interface Const {
    /**
     * 遍历model的关键字
     */
    String FOR_MODEL = "forModel";
    /**
     * 遍历xml的关键字
     */
    String FOR_XML = "forXml";

    /**
     * 遍历api文档
     */
    String FOR_API = "forApi";

    /**
     * model 实体遍历
     */
    String FORMAT1 = "    /**";
    String FORMAT2 = "     * %s";
    String FORMAT3 = "     */";
    String FORMAT4 = "    @TableId(value = \"`%s`\", type = IdType.AUTO)";
    String FORMAT5 = "    @TableField(\"`%s`\")";
    String FORMAT6 = "    private %s %s;";

    /**
     * xml 遍历
     */
    String FORMAT7 = "        <id column=\"%s\" jdbcType=\"%s\" property=\"%s\"/>";
    String FORMAT8 = "        <result column=\"%s\" jdbcType=\"%s\" property=\"%s\"/>";


    String FORMAT9 = "    @ApiModelProperty(value = \"%s\")";


}